package com.beigai.imessage.user.dto;

import com.beigai.imessage.client.dto.IPAddress;

import java.io.Serializable;

/**
 * Created by xxl on 2017/5/10.
 */
public class UserFriend implements Serializable {

    private static final long serialVersionUID = 6917653102921651674L;
    private String nickname;
    private IPAddress ipAddress;
    private boolean isOnline;
    private String  code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public IPAddress getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(IPAddress ipAddress) {
        this.ipAddress = ipAddress;
    }

    public boolean isOnline() {
        return isOnline;
    }

    public void setOnline(boolean online) {
        isOnline = online;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
}
